package cn.edu.nchu.service.impl;

import cn.edu.nchu.dao.ProductModelDao;
import cn.edu.nchu.entity.ProductModel;
import cn.edu.nchu.service.ProductModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductModelServiceImpl implements ProductModelService {
    @Autowired
    private ProductModelDao productModelDao;

    @Override
    public ProductModel findByProductId(String productId) {
        return productModelDao.findByProductId(productId);
    }
}
